package cn.springcloud.fix.stomp.utils;

import org.apache.commons.lang3.StringUtils;

public class CommonUtil {
    public static String getNameFromUrl(String url) {
        return StringUtils.isBlank(url) ? "" : StringUtils.substringAfterLast(url, "/" );
    }
}
